﻿using UnityEngine;
using System.Collections;
using NhomTre_XocXoc;
public class NhaCaiController : MonoBehaviour {
	private Nut[] nut;
	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
		if (XocDiaController.modia) {
			nut = XocDiaController.nut;
			int diem = GameController.DiemNut (nut);
			Debug.Log (diem);
		}

	}
}
